package com.yb.entity;

import java.util.Date;

public class Match {
	private Integer id;
	private Integer stageId;
	private Integer status;//比赛状态
	private Date time;
	private Integer homeid;
	private Integer home_grade;//暂时没考虑比分为小数的情况，需要的话奥该数据类型并修改数据库类型
	private Integer visitid;
	private Integer visit_grade;
	private Integer round;//轮次
	private String timeDesc;

	@Override
	public String toString() {
		return "Match{" +
				"id=" + id +
				", stageId=" + stageId +
				", status=" + status +
				", time=" + time +
				", homeid=" + homeid +
				", home_grade=" + home_grade +
				", visitid=" + visitid +
				", visit_grade=" + visit_grade +
				", round=" + round +
				", timeDesc='" + timeDesc + '\'' +
				'}';
	}

	public String getTimeDesc() {
		return timeDesc;
	}

	public void setTimeDesc(String timeDesc) {
		this.timeDesc = timeDesc;
	}

	public Match(Integer id, Integer stageId, Integer status, Date time, Integer homeid, Integer home_grade, Integer visitid, Integer visit_grade, Integer round, String timeDesc) {

		this.id = id;
		this.stageId = stageId;
		this.status = status;
		this.time = time;
		this.homeid = homeid;
		this.home_grade = home_grade;
		this.visitid = visitid;
		this.visit_grade = visit_grade;
		this.round = round;
		this.timeDesc = timeDesc;
	}

	public Match() {
		super();
		// TODO Auto-generated constructor stub
	}
	public Match(Integer id, Integer stageId, Integer status, Date time,
			Integer homeid, Integer home_grade, Integer visitid,
			Integer visit_grade, Integer round) {
		super();
		this.id = id;
		this.stageId = stageId;
		this.status = status;
		this.time = time;
		this.homeid = homeid;
		this.home_grade = home_grade;
		this.visitid = visitid;
		this.visit_grade = visit_grade;
		this.round = round;
	}

	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getStageId() {
		return stageId;
	}
	public void setStageId(Integer stageId) {
		this.stageId = stageId;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public Date getTime() {
		return time;
	}
	public void setTime(Date time) {
		this.time = time;
	}
	public Integer getHomeid() {
		return homeid;
	}
	public void setHomeid(Integer homeid) {
		this.homeid = homeid;
	}
	public Integer getHome_grade() {
		return home_grade;
	}
	public void setHome_grade(Integer home_grade) {
		this.home_grade = home_grade;
	}
	public Integer getVisitid() {
		return visitid;
	}
	public void setVisitid(Integer visitid) {
		this.visitid = visitid;
	}
	public Integer getVisit_grade() {
		return visit_grade;
	}
	public void setVisit_grade(Integer visit_grade) {
		this.visit_grade = visit_grade;
	}
	public Integer getRound() {
		return round;
	}
	public void setRound(Integer round) {
		this.round = round;
	}
	
}
